
package com.musemun.config;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * <p>
 *
 * </p>
 * @author winner
 * @date 2020/5/4
 */
@Configuration
public class winnerConfiguration {

    /**
     *   mybatisPlus分页插
     *
     * @return com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor
     */
    @Bean
    public PaginationInterceptor getPaginationInterceptor()
    {
        return new PaginationInterceptor();
    }
}